package zut.edu.cn.concertticketmanagementsystem.service;


import org.springframework.stereotype.Service;
import zut.edu.cn.concertticketmanagementsystem.entity.Collect;

import java.util.List;

public interface Collectservice {

    //添加收藏
    boolean create(Collect collect);
    //删除收藏
    boolean delete(Collect collect);
    //按照用户id查找收藏
    List<Collect> findbyUserid(int id);
}
